package com.wujunchao.demo.pojo;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 学生表(Student)实体类
 *
 * @author wn
 * @version 1.0
 * @since 2021-07-02 14:52:15
 */
@ApiModel(value = "Student", description = "学生表")
public class Student implements Serializable {
    private static final long serialVersionUID = 798089170336910122L;

    @ApiModelProperty(name = "sno", notes = "${column.comment}", dataType = "Integer", required = true)
    private Integer sno;

    @ApiModelProperty(name = "sname", notes = "${column.comment}", dataType = "String", required = true)
    private String sname;

    @ApiModelProperty(name = "spassword", notes = "${column.comment}", dataType = "String", required = true)
    private String spassword;

    @ApiModelProperty(name = "statue", notes = "${column.comment}", dataType = "String", required = true)
    private String statue;

    @ApiModelProperty(name = "steacher", notes = "${column.comment}", dataType = "String", required = true)
    private String steacher;


    public Integer getSno() {
        return sno;
    }

    public void setSno(Integer sno) {
        this.sno = sno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSpassword() {
        return spassword;
    }

    public void setSpassword(String spassword) {
        this.spassword = spassword;
    }

    public String getStatue() {
        return statue;
    }

    public void setStatue(String statue) {
        this.statue = statue;
    }

    public String getSteacher() {
        return steacher;
    }

    public void setSteacher(String steacher) {
        this.steacher = steacher;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sno=" + sno +
                ", sname='" + sname + '\'' +
                ", spassword='" + spassword + '\'' +
                ", statue='" + statue + '\'' +
                ", steacher='" + steacher + '\'' +
                '}';
    }
}
